feat(aep): add replay-evidence and checkpoint-evidence schemas (#124, #153) - #154
Merged
Merged
Conversation
…153) Adds two new AEP evidence types needed for deterministic-replay attestation and checkpoint/fork record provenance: **replay-evidence** (#124): - `schemas/aep/replay-evidence.schema.json` - Required fields: schema_version, created_at_ms, run_id, seed, input_digests[], output_digest, engine_version - Optional: trace_id, signature (ed25519/key_id/sig) - Draft 2020-12, additionalProperties: false **checkpoint-evidence** (#153): - `schemas/aep/checkpoint-evidence.schema.json` - Required fields: schema_version, created_at_ms, checkpoint_id, parent_run_id, state_digest - Optional: trace_id, fork_of (nullable), signature - Draft 2020-12, additionalProperties: false Both schemas: - Registered in `schemas/index.json` (version aep/v0.1, stability evolving) - Valid fixture (all required + optional fields present) - Invalid fixture (omits a required field — must fail validation) - `node --test`: 18/18 pass; `conformance.py`: 13 schemas OK Closes #124, closes #153
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two new AEP evidence types per Milestone 4:
replay-evidence (#124):
schemas/aep/replay-evidence.schema.jsonRequired:
schema_version,created_at_ms,run_id,seed,input_digests[],output_digest,engine_version. Optional:trace_id,signature.checkpoint-evidence (#153):
schemas/aep/checkpoint-evidence.schema.jsonRequired:
schema_version,created_at_ms,checkpoint_id,parent_run_id,state_digest. Optional:trace_id,fork_of(nullable),signature.Both schemas are Draft 2020-12 with
additionalProperties: false, registered inschemas/index.json, and include valid + invalid fixtures.Tests:
node --test18/18 pass;python3 tests/conformance.pyreports 13 schemas well-formed, refs resolve, fixtures pass/fail as expected.Closes #124, closes #153